package router

import (
	v1 "gin-vue-admin/api/v1"

	"github.com/gin-gonic/gin"
)

func InitCustomProcessBaseUserRelRouter(Router *gin.RouterGroup) {
	CustomProcessBaseUserRelRouter := Router.Group("customProcessBaseUserRel")
	// CustomProcessBaseUserRelRouter := Router.Group("customProcessBaseUserRel").Use(middleware.JWTAuth()).Use(middleware.CasbinHandler()).Use(middleware.OperationRecord())
	{
		CustomProcessBaseUserRelRouter.POST("createCustomProcessBaseUserRel", v1.CreateCustomProcessBaseUserRel)             // 新建CustomProcessBaseUserRel
		CustomProcessBaseUserRelRouter.DELETE("deleteCustomProcessBaseUserRel", v1.DeleteCustomProcessBaseUserRel)           // 删除CustomProcessBaseUserRel
		CustomProcessBaseUserRelRouter.DELETE("deleteCustomProcessBaseUserRelByIds", v1.DeleteCustomProcessBaseUserRelByIds) // 批量删除CustomProcessBaseUserRel
		CustomProcessBaseUserRelRouter.PUT("updateCustomProcessBaseUserRel", v1.UpdateCustomProcessBaseUserRel)              // 更新CustomProcessBaseUserRel
		CustomProcessBaseUserRelRouter.GET("findCustomProcessBaseUserRel", v1.FindCustomProcessBaseUserRel)                  // 根据ID获取CustomProcessBaseUserRel
		CustomProcessBaseUserRelRouter.GET("getCustomProcessBaseUserRelList", v1.GetCustomProcessBaseUserRelList)            // 获取CustomProcessBaseUserRel列表
	}
}
